package uk.org.scuts.bantstadium2.attacks;

import uk.org.scuts.bantstadium2.Character;

public class BitingSarcasm extends Attack {
	// Constructors
	public BitingSarcasm() {
		super();
		_name = "Biting Sarcasm";
		_accuracy = 100;
		_power = 0.0;
	}
	
	public String Execute(Character user, Character target) {
		String log = (user.Name() + " sarcastically praises " + target.Name() + "'s efforts");
		switch (Hits(user, target)) {
		case MISS: 
		case GLANCING:
			log += (", but to no avail. ");
		    break;
		case NORMAL: 
			log += (" and depresses " + target.ObjPronoun() + ". ");
        	log += target.Depress(2);
        	break;
		case CRITICAL: 
			log += (" and REALLY depresses " + target.ObjPronoun() + ". ");
			log += target.Depress(5);
			break;
		}
		return log;
	}
}
